#!/bin/bash
logfile=/home/ZCIPClient/log/sy_update.log
python3 -m pip install requests~=2.22.0 -i https://pypi.tuna.tsinghua.edu.cn/simple  --trusted-host pypi.tuna.tsinghua.edu.cn >> $logfile 2>&1
workdir=$(cd $(dirname $0); pwd)
python3 $workdir/syn_update_gitea.py "$@" >> $logfile 2>&1